Rust Cargo Upgrade Dependencies and Adjust Cargo.toml
We can use cargo-edit to upgrade all dependencies and modify the Cargo.toml
file accordingly in a Rust Project, Not like cargo update
which only update Cargo.lock
Install cargo-edit
cargo install cargo-edit
Update all dependencies, updates versions in Cargo.toml
and regenerates Cargo.lock
cargo upgrade